package apigenerator;

import java.lang.reflect.Method;

import javax.ws.rs.Path;

import org.springframework.core.annotation.AnnotationUtils;
import org.springframework.core.annotation.Order;

/**
 * @author 1203056
 * @version Id: FacadeApiTypeFilter.java, v 0.1 2021-09-07 14:07 1203056 Exp $
 */
@Order(1)
public class FacadeApiMethodFilter implements MethodFilter {
    @Override
    public boolean match(Method method) {
        return AnnotationUtils.findAnnotation(method, Path.class) != null;
    }
}
